package com.example.Form;


import com.example.entity.Base;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("course")
@ApiModel(value="CourseDescription对象", description="课程简介")
public class CourseDescription extends Base {

    private static final long serialVersionUID=1L;

    // 这里主键策略一定是NONE
    @ApiModelProperty(value = "课程ID")
    @TableId(value = "id", type = IdType.NONE)
    private String id;


    @ApiModelProperty(value = "课程简介")
    private String description;
}